package com.service;

import com.bean.Admin;
import com.bean.Page;
import com.dao.AdminDao;

import java.util.List;

public interface AdminService {
    //通过名字查询管理员信息
    public List<Admin> existsadminname(String adminname);
public  boolean queryPanmae(String adminname,String adminpassword);
    //根据ID删除视频
    public int deleteadminnameById(Integer id);

    //添加视频
    public int addadminn(Admin admin);

    //修改视频信息
    public int updateAdmin(Admin admin);

    //查询视频信息集合
    public List<Admin> queryAllAdmin();

    //查询视频的页数数据
//    public Page<Admin> page(int pageNo, int pageSize);

    //查找总页数
//    public Integer queryForPageTotalCount();
}
